﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MvcRags.Pagination
{
    public static class PaginationSettings
    {
        public static int EntriesPerPage { get; set; }

        public static int DefaultEntriesPerPage = 20;

        public static string SessionKeyEntriesPerPage = "mvcr_entriesPerPage";
        public static string RequestKeyEntriesPerPage = "mvcr_pageEntries";
        public static string RequestKeyPage = "mvcr_page";

        public static string ViewDataKeyPage = "page";
        public static string ViewDataKeyPageEntries = "pageEntries";
        public static string ViewDataKeyPageCount = "pageCount";

        public static string ViewDataKeyTotalEntriesCount = "entriesCount";
    }
}
